package com.android.settings.audio.peq.peq.ui;


import com.android.settings.audio.peq.soundeffect.SoundEffectConfig;
import com.android.settings.audio.peq.user.Callback;

import org.json.JSONObject;

import java.util.List;

/**
 * Created by We on 2023/6/3
 */
public interface ISoundEffectPrefabsActivityPresenter {
    List<SoundEffectPrefabsActivity.ActionPair> getActions(SoundEffectConfig soundEffectConfig);

    void deleteConfigFromServer(String type, String id, Callback<JSONObject> callback);

    List<List<double[]>> getPeqValues(SoundEffectConfig o) throws Exception;

    List<List<double[]>> getMsebValues(SoundEffectConfig o) throws Exception;

    float[] getEqFs(SoundEffectConfig o) throws Exception;

    String download(String dataUrl) throws Exception;
}
